function g_ = flip(g_)% function g_ = flip(g_)%% draw method for class dXgraphics% Copyright 2005 by Joshua I. Gold%   University of Pennsylvania% Arguments:%   windowPtr%   when        ... 0=next retrace; >0 first retrace after system time%   dontclear   ... 1=do not clear buffer after flip%   dontsync    ... 0=sync to vertical retrace; 1=sync to retrace but dont%                       wait; 2=show immediately%   multiflip   ...%% Returns:%   VBLTimestamp        ... system time of flip%   StimulusOnsetTime   ... system time of stim onset%   FlipTimestamp       ... system time at end of execution%   Missed              ... <0 is ok; >0 is miss %   Beampos             ...% [VBLTimestamp, StimulusOnsetTime, FlipTimestamp, Missed] = ...%     Screen('Flip', g.windowNumber);%            ptr when dontclear dontsync multiflipScreen('Flip', g_.windowNumber);